package com.hospital.domain.DTO;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class RecordDTO {
    @JsonProperty("rId")
    private Integer rId;
    
    @JsonProperty("result")
    private String result;
    
    @JsonProperty("info")
    private String info;
    
    @JsonProperty("advice")
    private String advice;
    
    @Override
    public String toString() {
        return "RecordDTO{rId=" + rId + ", result='" + result + "', info='" + info + "', advice='" + advice + "'}";
    }
}
